namespace Auth.Result
{
    /// <summary>
    /// 分页返回结果
    /// </summary>
    /// <typeparam name="T">返回数据类型</typeparam>
    public class ApiPaging<T>
    {
        /// <summary>
        /// 总记录数
        /// </summary>
        public int TotalCount { get; set; }

        /// <summary>
        /// 总页数
        /// </summary>
        public int TotalPages { get; set; }

        /// <summary>
        /// 当前页
        /// </summary>
        public int CurrentPage { get; set; }

        /// <summary>
        /// 页码大小
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 分页数据
        /// </summary>
        public List<T> PagingData { get; set; }
    }
} 